package com.example.service.account.dubbo;

import com.example.service.account.service.AccountService;
import com.example.service.api.service.AccountDubboService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/*
@author SupUncleBlack
@date 2021/9/1 - 15:41
*/
@DubboService(version = "1.0.0")
public class AccountDubboServiceImpl implements AccountDubboService {
    @Autowired
    private AccountService accountService;

    @Override
    public String insertAccount(String customerId, String password, String phoneNumber) {
        return accountService.insertAccount(customerId, password, phoneNumber);
    }
}
